package com.nd.service;

import com.nd.pojo.bean.Coupon;
import com.nd.pojo.bo.CouponCreateBo;
import com.nd.pojo.bo.CouponDeleteBo;
import com.nd.pojo.vo.AdQueryDataVo;

public interface CouponService {
    AdQueryDataVo queryAll(Integer page, Integer limit, String sort, String order, String name, Short type, Short status);

    Integer delete(CouponDeleteBo couponDeleteBo);

    Coupon queryById(Integer id);

    Coupon create(Coupon coupon);


    Coupon update(Coupon coupon);

    AdQueryDataVo queryUser(Integer page, Integer limit, String sort, String order, Integer couponId, Integer userId, Short status);
}
